package com.shaozi.nc.quartz.workreport;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import com.shaozi.utils.common.BeanUtils;


public class ReportJobExecute implements Job {

	private ReportQuartzJob reportQuartzJob;

	public ReportJobExecute() {
		reportQuartzJob = BeanUtils.getBean(ReportQuartzJob.class);
	}

	@Override
	public void execute(JobExecutionContext context) throws JobExecutionException {
		reportQuartzJob.execute(context);
	}

}
